var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function(){
    if (xhr.readyState == 4) {
        
        let data = JSON.parse(xhr.responseText);
        console.log(data);
    }
}
xhr.open('POST', 'http://wthrcdn.etouch.cn/weather_mini?citykey=101180101');
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
xhr.send();

